package object;

class SubClass extends SupClass {
    static int x = 30;
    int y = 40;

    static {
        x = 31;
        System.out.println("SubClass static{}");
    }

    {
        y = 41;
        System.out.println("SubClass {}");
    }

    SubClass() {
        System.out.println("SubClass() {}");
        println();
    }

    void println() {
        System.out.println("SubClass.println() {}");
        System.out.println("x = " + x + ", y = " + y);
    }
}